# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created: Thu Jun  5 00:46:21 2008
#      by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(912,600)
        MainWindow.setUnifiedTitleAndToolBarOnMac(False)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setGeometry(QtCore.QRect(0,0,912,579))
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(20)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setGeometry(QtCore.QRect(0,0,908,549))
        self.tab.setObjectName("tab")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.groupBox = QtGui.QGroupBox(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.txtCurrentConnection = QtGui.QTextEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtCurrentConnection.sizePolicy().hasHeightForWidth())
        self.txtCurrentConnection.setSizePolicy(sizePolicy)
        self.txtCurrentConnection.setFrameShape(QtGui.QFrame.StyledPanel)
        self.txtCurrentConnection.setReadOnly(True)
        self.txtCurrentConnection.setAcceptRichText(False)
        self.txtCurrentConnection.setObjectName("txtCurrentConnection")
        self.gridLayout_2.addWidget(self.txtCurrentConnection,0,0,1,1)
        self.horizontalLayout_3.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.lblIP = QtGui.QLabel(self.groupBox_2)
        self.lblIP.setObjectName("lblIP")
        self.horizontalLayout.addWidget(self.lblIP)
        self.txtIP = QtGui.QLineEdit(self.groupBox_2)
        self.txtIP.setObjectName("txtIP")
        self.horizontalLayout.addWidget(self.txtIP)
        self.lblPort = QtGui.QLabel(self.groupBox_2)
        self.lblPort.setObjectName("lblPort")
        self.horizontalLayout.addWidget(self.lblPort)
        self.spnPort = QtGui.QSpinBox(self.groupBox_2)
        self.spnPort.setMinimum(1000)
        self.spnPort.setMaximum(65000)
        self.spnPort.setProperty("value",QtCore.QVariant(4000))
        self.spnPort.setObjectName("spnPort")
        self.horizontalLayout.addWidget(self.spnPort)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.btnServer = QtGui.QPushButton(self.groupBox_2)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/conn_server.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnServer.setIcon(icon)
        self.btnServer.setObjectName("btnServer")
        self.horizontalLayout_2.addWidget(self.btnServer)
        self.btnClient = QtGui.QPushButton(self.groupBox_2)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/conn_client.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnClient.setIcon(icon)
        self.btnClient.setObjectName("btnClient")
        self.horizontalLayout_2.addWidget(self.btnClient)
        self.btnDisconnect = QtGui.QPushButton(self.groupBox_2)
        self.btnDisconnect.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/conn_disconnect.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnDisconnect.setIcon(icon)
        self.btnDisconnect.setObjectName("btnDisconnect")
        self.horizontalLayout_2.addWidget(self.btnDisconnect)
        self.btnStopServer = QtGui.QPushButton(self.groupBox_2)
        self.btnStopServer.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/conn_server_disconnect.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnStopServer.setIcon(icon)
        self.btnStopServer.setObjectName("btnStopServer")
        self.horizontalLayout_2.addWidget(self.btnStopServer)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.gridLayout_3.addLayout(self.verticalLayout,0,0,1,1)
        self.horizontalLayout_3.addWidget(self.groupBox_2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.groupBox_3 = QtGui.QGroupBox(self.tab)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.txtLog = QtGui.QTextEdit(self.groupBox_3)
        self.txtLog.setFrameShape(QtGui.QFrame.StyledPanel)
        self.txtLog.setFrameShadow(QtGui.QFrame.Sunken)
        self.txtLog.setReadOnly(True)
        self.txtLog.setObjectName("txtLog")
        self.gridLayout_4.addWidget(self.txtLog,0,0,1,1)
        self.verticalLayout_3.addWidget(self.groupBox_3)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/tab_logs.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab,icon,"")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setGeometry(QtCore.QRect(0,0,974,549))
        self.tab_3.setObjectName("tab_3")
        self.gridLayout_5 = QtGui.QGridLayout(self.tab_3)
        self.gridLayout_5.setMargin(2)
        self.gridLayout_5.setSpacing(2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.dockWidget = QtGui.QDockWidget(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dockWidget.sizePolicy().hasHeightForWidth())
        self.dockWidget.setSizePolicy(sizePolicy)
        self.dockWidget.setMinimumSize(QtCore.QSize(160,0))
        self.dockWidget.setMaximumSize(QtCore.QSize(16777215,16777215))
        self.dockWidget.setFloating(False)
        self.dockWidget.setFeatures(QtGui.QDockWidget.NoDockWidgetFeatures)
        self.dockWidget.setObjectName("dockWidget")
        self.dockWidgetContents = QtGui.QWidget(self.dockWidget)
        self.dockWidgetContents.setGeometry(QtCore.QRect(0,20,178,525))
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.gridLayout_6 = QtGui.QGridLayout(self.dockWidgetContents)
        self.gridLayout_6.setObjectName("gridLayout_6")
        self.btnAddFile = QtGui.QPushButton(self.dockWidgetContents)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/share_add.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnAddFile.setIcon(icon)
        self.btnAddFile.setObjectName("btnAddFile")
        self.gridLayout_6.addWidget(self.btnAddFile,0,0,1,1)
        self.btnSendFile = QtGui.QPushButton(self.dockWidgetContents)
        self.btnSendFile.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/share_start.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnSendFile.setIcon(icon)
        self.btnSendFile.setObjectName("btnSendFile")
        self.gridLayout_6.addWidget(self.btnSendFile,1,0,1,1)
        self.btnPauseFile = QtGui.QPushButton(self.dockWidgetContents)
        self.btnPauseFile.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/share_pause.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnPauseFile.setIcon(icon)
        self.btnPauseFile.setObjectName("btnPauseFile")
        self.gridLayout_6.addWidget(self.btnPauseFile,2,0,1,1)
        self.btnResumeFile = QtGui.QPushButton(self.dockWidgetContents)
        self.btnResumeFile.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/share_resume.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnResumeFile.setIcon(icon)
        self.btnResumeFile.setObjectName("btnResumeFile")
        self.gridLayout_6.addWidget(self.btnResumeFile,3,0,1,1)
        self.btnOpenFile = QtGui.QPushButton(self.dockWidgetContents)
        self.btnOpenFile.setEnabled(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/share_run.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.btnOpenFile.setIcon(icon)
        self.btnOpenFile.setObjectName("btnOpenFile")
        self.gridLayout_6.addWidget(self.btnOpenFile,4,0,1,1)
        self.txtShareInfo = QtGui.QTextEdit(self.dockWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtShareInfo.sizePolicy().hasHeightForWidth())
        self.txtShareInfo.setSizePolicy(sizePolicy)
        self.txtShareInfo.setMinimumSize(QtCore.QSize(160,0))
        self.txtShareInfo.setMaximumSize(QtCore.QSize(160,16777215))
        self.txtShareInfo.setReadOnly(True)
        self.txtShareInfo.setObjectName("txtShareInfo")
        self.gridLayout_6.addWidget(self.txtShareInfo,5,0,1,1)
        self.dockWidget.setWidget(self.dockWidgetContents)
        self.gridLayout_5.addWidget(self.dockWidget,0,0,1,1)
        self.treeWidget = QtGui.QTreeWidget(self.tab_3)
        self.treeWidget.setRootIsDecorated(False)
        self.treeWidget.setObjectName("treeWidget")
        self.gridLayout_5.addWidget(self.treeWidget,0,1,1,1)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/tab_share.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_3,icon,"")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setGeometry(QtCore.QRect(0,0,974,549))
        self.tab_2.setObjectName("tab_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tab_2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.txtChat = QtGui.QTextEdit(self.tab_2)
        self.txtChat.setObjectName("txtChat")
        self.verticalLayout_2.addWidget(self.txtChat)
        self.txtChatInput = QtGui.QLineEdit(self.tab_2)
        self.txtChatInput.setObjectName("txtChatInput")
        self.verticalLayout_2.addWidget(self.txtChatInput)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/tab_chat.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_2,icon,"")
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setGeometry(QtCore.QRect(0,0,974,549))
        self.tab_4.setObjectName("tab_4")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/images/tab_settings.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
        self.tabWidget.addTab(self.tab_4,icon,"")
        self.gridLayout.addWidget(self.tabWidget,0,0,1,1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setGeometry(QtCore.QRect(0,579,912,21))
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "QPyShare", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Current Connection", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("MainWindow", "Connection Options", None, QtGui.QApplication.UnicodeUTF8))
        self.lblIP.setText(QtGui.QApplication.translate("MainWindow", "IP/Host", None, QtGui.QApplication.UnicodeUTF8))
        self.txtIP.setText(QtGui.QApplication.translate("MainWindow", "127.0.0.1", None, QtGui.QApplication.UnicodeUTF8))
        self.lblPort.setText(QtGui.QApplication.translate("MainWindow", "Port", None, QtGui.QApplication.UnicodeUTF8))
        self.btnServer.setText(QtGui.QApplication.translate("MainWindow", "Listen (Server)", None, QtGui.QApplication.UnicodeUTF8))
        self.btnClient.setText(QtGui.QApplication.translate("MainWindow", "Connect to (Client)", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDisconnect.setText(QtGui.QApplication.translate("MainWindow", "Disconnect", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStopServer.setText(QtGui.QApplication.translate("MainWindow", "Stop Server", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("MainWindow", "QPyShare Log", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Connection - Log", None, QtGui.QApplication.UnicodeUTF8))
        self.dockWidget.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Share Info and Options", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddFile.setText(QtGui.QApplication.translate("MainWindow", "Add File", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSendFile.setText(QtGui.QApplication.translate("MainWindow", "Start Transfer", None, QtGui.QApplication.UnicodeUTF8))
        self.btnPauseFile.setText(QtGui.QApplication.translate("MainWindow", "Pause Share", None, QtGui.QApplication.UnicodeUTF8))
        self.btnResumeFile.setText(QtGui.QApplication.translate("MainWindow", "Resume Share", None, QtGui.QApplication.UnicodeUTF8))
        self.btnOpenFile.setText(QtGui.QApplication.translate("MainWindow", "Open/Run File", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(0,QtGui.QApplication.translate("MainWindow", "shareID", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(1,QtGui.QApplication.translate("MainWindow", "Filename", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(2,QtGui.QApplication.translate("MainWindow", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(3,QtGui.QApplication.translate("MainWindow", "Transferred", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(4,QtGui.QApplication.translate("MainWindow", "%", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(5,QtGui.QApplication.translate("MainWindow", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(6,QtGui.QApplication.translate("MainWindow", "Speed", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Share List", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Chat", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("MainWindow", "Settings", None, QtGui.QApplication.UnicodeUTF8))

import resources_rc
